<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<script>
  var father = {money:100000,car:"infiniti"};
  var hmm = Object.create(father,{
    //defineProperties
    bao:{
      value:"LV",
      writable:true,
      enumerable:true,
      configurable:false
    },
    phone:{
      value:"iPhoneX",
      writable:true,
      enumerable:true,
      configurable:false
    }
  });
  console.log(hmm);

  console.log(hmm.__proto__);
  window.llll={};
  console.log(window.hasOwnProperty('llll'));
  console.log(window);
</script>
</body>
</html>